import time

def delay(n):
  k = 0
  for j in range(n):
    k += 1
  return k

n = 5000
j = 0

a = time.time()
i = 1
c = time.time()
d = c - a
print(d)

a = time.time()
for i in range(n):
  j += 1
c = time.time()
d = c - a
print(d)

a = time.time()
k = delay(n)
c = time.time()
d = c - a
print(d)
	
